home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DIAGTOOL / X10XA2.ZIP;1 / AUTOEXC.BAT next >
Encoding:
DOS Batch File  |  1994-08-14  |  1.5 KB  |  43 lines

  1. @ECHO OFF
  2. REM --------------------------------------------------------------------
  3. REM This is an excerpt from my AUTOEXEC.BAT file. Use these sample
  4. REM statements to configure your system to use XA.
  5. REM 
  6. REM Set your PATH to include the directory where XA is kept.
  7. REM --------------------------------------------------------------------
  8.  
  9. PATH C:\X10;(...other directories placed here...)
  10.  
  11. REM --------------------------------------------------------------------
  12. REM Setup the XA Environment variable to point to the directory where
  13. REM XA's command and initialization files are kept.
  14. REM --------------------------------------------------------------------
  15.  
  16. SET XA=C:\X10
  17.  
  18. REM --------------------------------------------------------------------
  19. REM You could synchronize the clock in your CP-290 every time you boot
  20. REM your PC.
  21. REM --------------------------------------------------------------------
  22.  
  23. XA "SYNCHRONIZE X10"
  24.  
  25. REM --------------------------------------------------------------------
  26. REM Use POWERUP to see if it's time to update the CP-290 (Sunday 3:00am)
  27. REM ... Then DEFRAG DRIVES C,D,E,F
  28. REM ...... Then BACKUP modified files on drive E.
  29. REM ......... Then turn off the PC. 
  30. REM --------------------------------------------------------------------
  31. POWERUP D=SUNDAY s=2:55 e=3:05
  32. IF NOT ERRORLEVEL 1 GOTO FINISH
  33. XA f=xa.cmd +r1
  34. C:\DOS\DEFRAG C: /F
  35. C:\DOS\DEFRAG D: /F
  36. C:\DOS\DEFRAG E: /F
  37. C:\DOS\DEFRAG F: /F
  38. C:\UTILS\BACKUP E:
  39. C:\DOS\smartdrv /c C- D- E- 1024 512
  40. XA "P_C OFF"
  41.  
  42. :FINISH
  43.